package com.jzk.cloudshop.portalorderapi.remote;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name= "portal-order-service")
@RequestMapping("/portal/service/orders")
public interface OrderServiceRemote {
	@GetMapping(value = "/{orderId}")
    public String getOrderById(@PathVariable(value = "orderId", required=true) Long orderId);
}
